<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class MC_Parser</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class MC_Parser</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Parser-generator class with an easy PHP-based API, similar to the pyparsing module in philosophy</p>
		<p class="notes">
			Located in <a class="field" href="_Parser.php.html">/Parser.php</a> (line <span class="field">35</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
												<div class="var-title">
					static <span class="var-type">string</span>
					<a href="#$whitespace" title="details" class="var-name">$whitespace</a>
				</div>
																							</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																												<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#isWhitespace" title="details" class="method-name">isWhitespace</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$test</span>)
									</div>
																																																																																																								
												<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#alphanums" title="details" class="method-name">alphanums</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#alphas" title="details" class="method-name">alphas</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_OneOf.html">MC_Parser_Def_OneOf</a></span>
										<a href="#boolean" title="details" class="method-name">boolean</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$case</span> = <span class="var-default">'mixed'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Set.html">MC_Parser_Def_Set</a></span>
										<a href="#delimitedList" title="details" class="method-name">delimitedList</a>
											(<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>&nbsp;<span class="var-name">$expr</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$delim</span> = <span class="var-default">','</span>])
									</div>
																								<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#keyword" title="details" class="method-name">keyword</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$caseless</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$fullword</span> = <span class="var-default">true</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#literal" title="details" class="method-name">literal</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$caseless</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$fullword</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Regex.html">MC_Parser_Def_Regex</a></span>
										<a href="#number" title="details" class="method-name">number</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#nums" title="details" class="method-name">nums</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_OneOf.html">MC_Parser_Def_OneOf</a></span>
										<a href="#oneOf" title="details" class="method-name">oneOf</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_NOrMore.html">MC_Parser_Def_NOrMore</a></span>
										<a href="#oneOrMore" title="details" class="method-name">oneOrMore</a>
											(<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>&nbsp;<span class="var-name">$expr</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_OneOf.html">MC_Parser_Def_OneOf</a></span>
										<a href="#optional" title="details" class="method-name">optional</a>
											(<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>&nbsp;<span class="var-name">$expr</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Regex.html">MC_Parser_Def_Regex</a></span>
										<a href="#quotedString" title="details" class="method-name">quotedString</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$quote_chars</span> = <span class="var-default">'\'&quot;'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$esc_char</span> = <span class="var-default">'\\'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Recursive.html">MC_Parser_Def_Recursive</a></span>
										<a href="#recursive" title="details" class="method-name">recursive</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Set.html">MC_Parser_Def_Set</a></span>
										<a href="#set" title="details" class="method-name">set</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Word.html">MC_Parser_Def_Word</a></span>
										<a href="#word" title="details" class="method-name">word</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$first_chars</span>, [<span class="var-type">string|null</span>&nbsp;<span class="var-name">$rest_chars</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_NOrMore.html">MC_Parser_Def_NOrMore</a></span>
										<a href="#zeroOrMore" title="details" class="method-name">zeroOrMore</a>
											(<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>&nbsp;<span class="var-name">$expr</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$whitespace" id="$whitespace"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">string</span>
			<span class="var-name">$whitespace</span>
			 = <span class="var-default"> &quot; \t\n\r&quot;</span>			(line <span class="line-number">40</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">By default, the parser ignores these characters when they occur between tokens</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodisWhitespace" id="isWhitespace"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method isWhitespace</span> (line <span class="line-number">213</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Simple test for whether a character is a whitespace character</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">boolean</span>
		<span class="method-name">
			isWhitespace
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$test</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$test</span>			</li>
				</ul>
		
			
	</div>

<a name="methodalphanums" id="alphanums"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">alphanums</span> (line <span class="line-number">197</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Helper function returning a string of all alphabet and digit characters</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			alphanums
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodalphas" id="alphas"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">alphas</span> (line <span class="line-number">189</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Helper function returning a regex range of all the characters in the english alphabet</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			alphas
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodboolean" id="boolean"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">boolean</span> (line <span class="line-number">105</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">wrapper around MC_Parser_Def_OneOf that matches true and false, depending on case requirements</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_OneOf.html">MC_Parser_Def_OneOf</a></span>
		<span class="method-name">
			boolean
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$case</span> = <span class="var-default">'mixed'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$case</span><span class="var-description">: which case is supported, one of &quot;upper&quot;, &quot;lower&quot;, &quot;first&quot;, or &quot;mixed&quot;</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddelimitedList" id="delimitedList"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">delimitedList</span> (line <span class="line-number">146</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a MC_Parser_Def_Set that matches a set of expressions delimited by a literal and optional whitespace</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Set.html">MC_Parser_Def_Set</a></span>
		<span class="method-name">
			delimitedList
		</span>
					(<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>&nbsp;<span class="var-name">$expr</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$delim</span> = <span class="var-default">','</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>
				<span class="var-name">$expr</span><span class="var-description">: the expression that is delimited</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$delim</span><span class="var-description">: the delimiting literal - defaults to ,</span>			</li>
				</ul>
		
			
	</div>
<a name="methodkeyword" id="keyword"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">keyword</span> (line <span class="line-number">136</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a MC_Parser_Def_Literal that matches a literal word (but with non-whitespace following characters turned off)</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			keyword
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$caseless</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$fullword</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$str</span><span class="var-description">: the exact string to match</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$caseless</span><span class="var-description">: flag for triggering case-insensitive searching</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$fullword</span><span class="var-description">: for triggering literals that can be followed by non-whitespace characters</span>			</li>
				</ul>
		
			
	</div>
<a name="methodliteral" id="literal"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">literal</span> (line <span class="line-number">126</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a MC_Parser_Def_Literal that matches a literal word</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			literal
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$caseless</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$fullword</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$str</span><span class="var-description">: the exact string to match</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$caseless</span><span class="var-description">: flag for triggering case-insensitive searching</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$fullword</span><span class="var-description">: for triggering literals that can be followed by non-whitespace characters</span>			</li>
				</ul>
		
			
	</div>
<a name="methodnumber" id="number"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">number</span> (line <span class="line-number">96</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">wrapper around MC_Parser_Def_Regex that matches numerical values (like 7, 3.5, and -42)</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Regex.html">MC_Parser_Def_Regex</a></span>
		<span class="method-name">
			number
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodnums" id="nums"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">nums</span> (line <span class="line-number">205</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Helper function returning a regex range of all digit characters</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			nums
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodoneOf" id="oneOf"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">oneOf</span> (line <span class="line-number">54</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return a MC_Parser_Def_OneOf with the function arguments as the possible expressions</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_OneOf.html">MC_Parser_Def_OneOf</a></span>
		<span class="method-name">
			oneOf
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodoneOrMore" id="oneOrMore"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">oneOrMore</span> (line <span class="line-number">164</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a MC_Parser_Def_NOrMore that matches one or more expressions</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_NOrMore.html">MC_Parser_Def_NOrMore</a></span>
		<span class="method-name">
			oneOrMore
		</span>
					(<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>&nbsp;<span class="var-name">$expr</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>
				<span class="var-name">$expr</span><span class="var-description">: the expression to match one or more of</span>			</li>
				</ul>
		
			
	</div>
<a name="methodoptional" id="optional"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">optional</span> (line <span class="line-number">180</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a MC_Parser_Def_OneOf that matches zero or one expressions</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_OneOf.html">MC_Parser_Def_OneOf</a></span>
		<span class="method-name">
			optional
		</span>
					(<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>&nbsp;<span class="var-name">$expr</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>
				<span class="var-name">$expr</span>			</li>
				</ul>
		
			
	</div>
<a name="methodquotedString" id="quotedString"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">quotedString</span> (line <span class="line-number">74</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return a MC_Parser_Def_Regex that matches a typical optionally-escaped quoted string</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Regex.html">MC_Parser_Def_Regex</a></span>
		<span class="method-name">
			quotedString
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$quote_chars</span> = <span class="var-default">'\'&quot;'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$esc_char</span> = <span class="var-default">'\\'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$quote_chars</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$esc_char</span>			</li>
				</ul>
		
			
	</div>
<a name="methodrecursive" id="recursive"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">recursive</span> (line <span class="line-number">172</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a MC_Parser_Def_Recursive placeholder def that can be used to create recursive grammars</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Recursive.html">MC_Parser_Def_Recursive</a></span>
		<span class="method-name">
			recursive
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodset" id="set"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">set</span> (line <span class="line-number">46</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return a MC_Parser_Def_Set with the function arguments as the subexpressions</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Set.html">MC_Parser_Def_Set</a></span>
		<span class="method-name">
			set
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodword" id="word"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">word</span> (line <span class="line-number">64</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return a MC_Parser_Def_Word that matches a set of possible characters not separated by whitespace</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_Word.html">MC_Parser_Def_Word</a></span>
		<span class="method-name">
			word
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$first_chars</span>, [<span class="var-type">string|null</span>&nbsp;<span class="var-name">$rest_chars</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$first_chars</span>			</li>
					<li>
				<span class="var-type">string|null</span>
				<span class="var-name">$rest_chars</span>			</li>
				</ul>
		
			
	</div>
<a name="methodzeroOrMore" id="zeroOrMore"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">zeroOrMore</span> (line <span class="line-number">155</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a MC_Parser_Def_NOrMore that matches zero or more expressions</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../MC_Parser/MC_Parser_Def_NOrMore.html">MC_Parser_Def_NOrMore</a></span>
		<span class="method-name">
			zeroOrMore
		</span>
					(<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>&nbsp;<span class="var-name">$expr</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../MC_Parser/MC_Parser_Def.html">MC_Parser_Def</a></span>
				<span class="var-name">$expr</span><span class="var-description">: the expression to match zero or more of</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Wed, 13 May 2009 08:25:47 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.2</a>
	</p>
	</div></body>
</html>